package com.kiwilss.aopdemo.ui.dsl

/**
 * @author : Administrator
 * e-mail : kiwilss@163.com
 * time   : 2021/02/05
 *  desc   :
 */
object TestDependency {
    @JvmStatic
    fun main(args: Array<String>) {

        dependencies {
            implementation("hello")
            implementation("word")
        }
    }

    fun dependencies(block: Dependency.() -> Unit): List<String>{
        val dependency = Dependency()
        dependency.block()
        return dependency.library
    }

}